﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="register.aspx.cs" Inherits="WebApplication2.WebForm2" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <link href="Content/Css/bootstrap.min.css" rel="stylesheet" />
    <link href="Content/Css/Login.css" rel="stylesheet" />
    <link href="Scripts/bootstrap.min.js" rel="stylesheet" />
    <script src="Scripts/jquery-3.3.1.min.js"></script>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
</head>
<body>
    <form id="form1" runat="server">

        <div class="box">
            <div class="container box1">
                <div class="row Line">
                    <div class="col-md-6" id="Content">
                        <div class="row Line1" style="background-color: white;">

                            <div class="T">
                                <div class="col-md-12 text" style="height: 10%; margin-top: 10%">
                                    <p style="line-height: 100%; text-align: left; font-size: 25px; padding-top: 5%">注册汽车百宝箱</p>
                                </div>

                                <div class="col-md-12 UserName" style="height: 5%; margin-top: 5%">
                                    姓名:<asp:TextBox ID="TextBox1" runat="server" Style="width: 50%; margin-left: 10%; border-top-style: none; border-left-style: none; border-right-style: none;"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="请填写姓名！" ControlToValidate="TextBox1" ForeColor="Red"></asp:RequiredFieldValidator>
                                 
                                </div>


                                <div class="col-md-12 UserName" style="height: 5%; margin-top: 2%">
                                    账号:<asp:TextBox ID="TextBox2" runat="server" Style="width: 50%; margin-left: 10%; border-top-style: none; border-left-style: none; border-right-style: none;"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="请填写账号！" ControlToValidate="TextBox2" ForeColor="Red"></asp:RequiredFieldValidator>
                                </div>


                                <div class="col-md-12 UserName" style="height: 5%; margin-top: 2%">
                                    密码:<asp:TextBox ID="TextBox3" runat="server" Style="width: 50%; margin-left: 10%; border-top-style: none; border-left-style: none; border-right-style: none;" TextMode="Password" OnTextChanged="TextBox3_TextChanged"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="请填写密码！" ControlToValidate="TextBox3" ForeColor="Red"></asp:RequiredFieldValidator>
                                </div>


                                <div class="col-md-12 UserName" style="height: 5%; margin-top: 2%">
                                    确认密码:<asp:TextBox ID="TextBox4" runat="server" Style="width: 50%; margin-left: 5%; border-top-style: none; border-left-style: none; border-right-style: none;" TextMode="Password" OnTextChanged="TextBox4_TextChanged"></asp:TextBox>
                                    <asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="两次密码输入不一致!" ControlToCompare="TextBox3" ControlToValidate="TextBox4" ForeColor="Red"></asp:CompareValidator>
                                </div>


                                <div class="col-md-12 UserName" style="height: 5%; margin-top: 2%">
                                    年龄:<asp:TextBox ID="TextBox5" runat="server" Style="width: 50%; margin-left: 10%; border-top-style: none; border-left-style: none; border-right-style: none;"></asp:TextBox>
                                      <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="请填写年龄！" ControlToValidate="TextBox5" ForeColor="Red"></asp:RequiredFieldValidator>
                                    <asp:RangeValidator ID="RangeValidator1" runat="server" ErrorMessage="年龄超出范围！" ControlToValidate="TextBox5" MaximumValue="120"  ForeColor="Red" CultureInvariantValues="True" MinimumValue="10" Type="Integer"></asp:RangeValidator>
                                </div>


                                <div class="col-md-12 UserName" style="height: 5%; margin-top: 2%">
                                    性别:<asp:TextBox ID="TextBox6" runat="server" Style="width: 50%; margin-left: 10%; border-top-style: none; border-left-style: none; border-right-style: none;"></asp:TextBox>
                                    <asp:Label ID="Label7" runat="server" Text="" ForeColor="Red"></asp:Label>
                                </div>


                                <div class="col-md-12 UserName" style="height: 5%; margin-top: 2%">
                                    邮箱:<asp:TextBox ID="TextBox7" runat="server" Style="width: 36%; margin-left: 10%; border-top-style: none; border-left-style: none; border-right-style: none;"></asp:TextBox>
                                    <asp:Button ID="Button3" runat="server" Text="获取验证码" CssClass="btn-primary" BorderStyle="Dashed" OnClick="Button3_Click" />
                                    
                                    <asp:Label ID="Label8" runat="server" Text="" ForeColor="Red"></asp:Label>
                                </div>

                                <div class="col-md-12 UserName" style="height: 5%; margin-top: 2%">
                                    验证码:<asp:TextBox ID="TextBox8" runat="server" Style="width: 50%; margin-left: 7%; border-top-style: none; border-left-style: none; border-right-style: none;"></asp:TextBox>
                                    <asp:Label ID="Label9" runat="server" Text="" ForeColor="Red"></asp:Label>
                                </div>

                                <div class="col-md-12 UserName" style="height: 5%; margin-top: 2%">
                                    <asp:Button ID="Button2" runat="server" Text="注册" Font-Bold="true" Width="70%" Height="120%" BackColor="#66ff33" ForeColor="White" BorderStyle="None" OnClick="Button2_Click" />
                                    <asp:Label ID="Label1" runat="server"  ForeColor="Red"></asp:Label>
                                </div>







                            </div>


                            <div class="T2" style="height:0%;">
                            </div>






                        </div>

                    </div>
                    <div class="col-md-6">
                        <div class="row Line2">
                            <div class="col-md-12" style="z-index: 10">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </form>
    <script>   





</script>
</body>
</html>
